﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SQLBackup
{
    internal static class Config
    {
        public static string DBConnectionString
        {
            get{  return ConfigurationManager.AppSettings["DBConnection"];}
        }

        //public static string DBName
        //{
        //    get { return ConfigurationManager.AppSettings["DBName"]; }
        //}

        //public static string DBBackUpFilePath
        //{
        //    get { return ConfigurationManager.AppSettings["BackUpFilePath"]; }
        //}

        //public static string ErrorLogFilePath
        //{
        //    get { return ConfigurationManager.AppSettings["ErrorLogFilePath"]; }
        //}
        public static string ActivityLog { get; set; }
    }

    [Serializable]
    public class ConfigSettings
    {
        //public string DbConnectionString { get; set; }
        public string DbName { get; set; }
        public string DbBackUpFilePath { get; set; }
        public string ErrorLogPath { get; set; }
        public string ActivityLogPath { get; set; }
        public string BackupType { get; set; }
    } 
}
